package com.googlecode.moneyManager.service;

import java.util.List;

import com.googlecode.moneyManager.model.Deposit;
import com.googlecode.moneyManager.model.Customer;
/**
 * @author Sergiy Doroshenko
 * Jul 5, 2008 11:06:44 AM
 */
public interface DepositeService {
    /**
     * get list of all deposits
     * @return List of deposits
     */
    List<Deposit> getListOfDeposits();
    
    List<Deposit> getDepositsByUser(String fname, String sname);
    /**
     * 
     * @return boolean flag
     */
    boolean delete(Deposit d);
    
}
